// protected
class Animal1 {
  public move() {
    console.log('Moving along!')
  }
  protected run() {
    console.log('Running!')
  }
  private __run__() {
    console.log('Animal1 的辅助方法')
  }
}

class Dog1 extends Animal1 {
  bark() {
    this.run()
    console.log('bark!')
  }
}

const dog1 = new Dog1()

dog1.move()
dog1.bark()